package function;

import course.CourseList;

public class Exitfunction implements IFunction{
    @Override
    public void work(CourseList courseList) {
        System.out.println("退出系统");
        System.exit(0);//当status等于0是，退出运行
    }
}
